Skip to content

feat(web-app): add clear button to sidebar search input - #1683

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
jyotish6699:feature/search-clear-button
Jul 13, 2026
Merged

feat(web-app): add clear button to sidebar search input#1683
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
jyotish6699:feature/search-clear-button

Conversation

@jyotish6699

Copy link
Copy Markdown
Contributor

Summary

This PR adds a clear button inside the sidebar search input to improve the search experience.

Changes

  • Added a clear (✕) button inside the sidebar search input.
  • Show the clear button only when the search field contains text.
  • Clear the search input with a single click.
  • Automatically hide the button after clearing the input.
  • Preserved the existing search behavior and layout without affecting other UI components.

Testing

  • Verified the clear button appears while typing.
  • Verified clicking the button clears the search input.
  • Verified the button hides after the input is cleared.
  • Verified existing search functionality continues to work as expected.

Closes #1682

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

@jyotish6699 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@steam-bell-92 steam-bell-92 added level:beginner gssoc:approved GSSoC 2026 approving tag labels Jul 13, 2026
@steam-bell-92
steam-bell-92 merged commit 284d7fb into steam-bell-92:main Jul 13, 2026
3 of 4 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.
Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC 2026 approving tag level:beginner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an inline clear button to the search input

2 participants